package com.panshi.modules.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panshi.modules.domain.UserMember;
import com.panshi.vo.ItemQueryUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper extends BaseMapper<UserMember> {
    //修改用户信息
    int updateUserInfoById(ItemQueryUserVo itemQueryUserVo);
    //根据类型判断根据邮箱还是验证码查询用户ID
    Long getUserLoginId(@Param("userName")String userName,@Param("type")int type);
}
